class AppConfig {
  AppConfig({
    this.enable,
    this.channel,
    this.delayTime,
    this.allowEnterLevel,
  });

  AppConfig.fromJson(dynamic json) {
    enable = json['enable'];
    channel = json['channel'] != null ? json['channel'].cast<String>() : [];
    delayTime = json['delayTime'];
    allowEnterLevel = json['allowEnterLevel'];
  }

  bool? enable;
  List<String>? channel;
  String? delayTime;
  String? allowEnterLevel;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['enable'] = enable;
    map['channel'] = channel;
    map['delayTime'] = delayTime;
    map['allowEnterLevel'] = allowEnterLevel;
    return map;
  }
}
